package http

import (
	"io"
	"log"
	"net/http"
)

func HelloServer(w http.ResponseWriter, r *http.Request) {
	io.WriteString(w, "hello ,this is from HelloServer func ")
}

func StartServer() {
	http.HandleFunc("/hello", HelloServer)
	http.ListenAndServe(":8000", nil)
	log.Fatal()
}
